package com.zy.springcloud.service;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_ok(Integer id) {

        String s = "****PaymentFallbackService****** fall  back_paymentInfo_ok";
        return s;
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {

        String s = "*****PaymentFallbackService****** fall  back_paymentInfo_ok";
        return s;
    }
}
